<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Prizelist extends Model
{
    protected $guarded = [];
    protected $dateFormat = 'U';
    public function addresses()
    {
        return $this->hasOne('App\Models\Address','id','address_id');
    }

    public function wxuser()
    {
        return $this->belongsTo('App\Models\Wxuser');
    }
}
